﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using lib;

namespace XQ.Framework.Base.Bll
{
    public interface IBaseBll<T> : IDisposable where T : class,new()
    {
        bool UseCache { get; set; }
        //#region 页面数据
        //List<string> getKeysList();
        //object GetPageData(string key);
        //void SetPageData(string key, object value);
        //string this[string key] { get; set; }
        //string GetPageDataString(string key);
        //IDictionary<string, object> FillData(IDictionary<string, object> dataContainer);
        //void ClearData();
        //#endregion

        //#region 增删改查
        //int Add(T model);
        //int Delete(params string[] id);
        //int Update(T model, string id);
        //T Query(string id);
        //IList<T> QueryLimit(int start, int count);
        //#endregion
    }
}
